Use local files for steps
Fix bash syntax in compliance with ShellCheck.net