adding check for curl, migrate code and migrate files buttons with basic submit handling