added chdir to startup scritp