Pass in directory as argument instead of having to cd