Updated script.coffee