Create gen_action.php