Fixed script for creating/updating infrastructure.