go wrapper for scripts