FIX
Do not change current directory as it changes the effective location of $@ when it is a relative path. Instead, use cd in a subshell.