get pbs working, added more scripting for molecules, moved references