Upgrading the scripts for molecules