Offline added to catch connection problems
Offline theme imported
Offline script included
Floor the result instead of ceiling