Changed pickup argument name to 'directory'