Added initial directive code