changed directive inits to work with any inits