[script] environmental initialization