AGLSL housekeeping