changed all the POST with option/required_param functions