added fix_packages.php
Added remove hooks to fix-packages as well

Signed-off-by: emanuele <emanuele45@gmail.com>