use getcwd to determine base for autoload check