adjusted scripts to account for spaces