made another aplpy file almost similar to original one, added util files too