Added preferences for commands

This makes the bashscript obsolete