Fixed scripting and first solution