using less variables and moving old files to old/ folder