altered how hardcoded layers are added.