scripts: added logging and made scripts executable