Splitting gopagoda.sh into two files