Full implementation of mkinstall: BETA