added a moving platform script.