add if operation script