Add auto Exec code and Shell

Add auto Exec code and Shell