consolidate scripts to single file with all env defined