Changed path and directory to aliased_path and aliased_directory for clarity