Update build script to check sys env for props