moving user_data_script into a separate file