Replaced submit_to_remote functions with submit_tag functions.