initial move of nexus setup script