New functions to script molecules