Cleaned floating grid script