fixes #11  Added parameters to set each individually
fixes #4 makes alert stay within container