added argument parsing, renamed install_name to pre_name