rename gen_links script into setup