Adding option to chdir before starting application