Debugging why script parse not working