Script to create a moving trunk