Added possibility of create a file to run with upgrade