local backup_module = dofile("rsm_bak_module")
--Note: backup_name and resote_mac values are strings, so encapsulate with quotation marks--
local BackupOrRestore_name = nil
local restore_mac = nil
io.write ("1.)Backup \n2.)Restore\n3.)Backup list\n")
local option = io.read("*n\n")
if (option == 1)then
backup_module.main_backup(BackupOrRestore_name) 
elseif (option == 2) then
backup_module.main_restore(restore_mac,BackupOrRestore_name)
elseif (option==3) then
print("listing...")
backup_module.backup_list()
else
print ("Incorrect selection")
end

