Adds code to default the user's LAYERS value if not set.