Shell path is not hardcoded anymore but retrieved by /bin/bash
Fixed problems with relative paths.