Fix install command for custom installs and add possibility to install a file with a different name.