Fixed resolution of script without extension