Fixed bug where bash scripts were not being loaded correctly.