Changed code for multiple run and startup blocks.. Now provides error for all blocks of same type.