fixed script bug

Fixed the script bug where the keyword PREFIX would be added regardless
of whether any prefeixes were added or not.