Initial implementation for actual saving the program (GCP-8521)