create env.sh and patches.txt if not exists