fixed issues with installing on pi and requires scripts directory