Temporary fix for when file path/name includes spaces; optimized install() by replacing install_dir when writing footprint outside of the loop also avoiding string concentrations