Convert script to strict mode