Changed scripts for building