changed build script to use proper replacement
swapped out array for a list to prevent silly crashes
messing around with ALL THE THINGS