Fix script to cd in the right directory.