Adding lock file again and removing scripts from envoy script