add env file and also run script cleanup command as motion user