better approach to user-script, user-data and operator scipt
Also: use /var/tmp for saving all scripts and files