using env in scripts