Add approve checked, fix for rejected and autoload for lib