added gc to script objects