extended stub and added non-ant deployment possiblities