changed final return value to success as it should be
Switched to release compilation for stable branch