code for running on google cloud