updated messages/shebang, fixed for %/\ characters