added building into script