Implemented getScript