Created rotate to dist command