Hack should be done before package installations