added run and env script