Use bash for shebang
Update smtools to 20141209
Fix permissions and user creation