added upgrade script, triggering by file creation