Make scripts work when run from other directories.