added controller-gen script