adding minor tweaks to make executable