nan fix option added to script