Separated GUI from map script