Fixed current directory
Added configuration checking
Added checking on group name