Script for initializing moving blocks