tweaked the GCP script to use the default editor if no input given