Moved from postInitialize to initialize

postInitialize is depricated