Added new possibilities for giving syccess parameter for more customization