prepare files to run on server