added MUGL_URL variable to insert query