added controller script