Updated to make the scripts runnable by not-root.