Fixes install routine