Handle empty selectors
Fix script path when used as symlink bin on unix
Fix stupid slicing error